# TriggerSwitchD, executes commands to activate/deactive remote switches.
# (c) Copyright 2010 Pontus Strömdahl, AdhocSkill. 
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.


#longitude and latitude for Malmö, Sweden. decimal form
Config.geo_position = {:north => 54.57525, :west => -12.94125}

#Paths: base for files tsd.log, devices, scheduled_actions and lookup.dsl (leave alone if uncertain) 
#       If you use vcp set vcp_port to your device, it should look like the example with a serial
#       number instead of the xxxxxxxx
Config.log_path = "~/.trigger_switch_d/log"
Config.db_path = "~/.trigger_switch_d/db"
Config.dsl_path = "~/.trigger_switch_d/config"
# Config.vcp_port = "/dev/tty.usbserial-xxxxxxxx"

#Log: can be one of :file, :development or :spec (:spec is for the rspecs, ie don't use)
#     when log_object is set to :file, the log is written to tsd.log (log_path + /tsd.log)
#     when log_object is set to :development the log is written to STDOUT, useful for debugging
# Config.log_object = :file
Config.log_object = :development
# Config.log_object = :spec

#Output: can be one of :development, :tellstick or :spec (:spec is for the rspecs, ie don't use)
#        when output is set to :development output is written to STDOUT, useful for debugging
#        when output is set to :vcp output is sent to the usb port that has a virtual com port 
# Config.output = :vcp
Config.output = :development
# Config.output = :spec

#Unix socket: (leave alone if uncertain)
Config.unix_socket_path = "/tmp"
